﻿.specs-component {
    background: #f9f9f9;
    padding: 6.25rem;
}

.specs-component-inside {
    max-width: 1300px;
    margin: auto;
}

.specs-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.specs-header h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: var(--weight-normal);
    margin: 0 0 1rem;
}

.specs-col--image {
    flex: 1;
    max-width: 50%;
    align-self: center;
}

.specs-ctas {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    gap: 1rem;
    flex-wrap: wrap;
}

    .specs-col--image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

.specs-col--content {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.specs-rows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.specs-grid-ctas {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.specs-cta-item {
    display: flex;
    flex: 1;
    text-align: center;
    max-width: 50%;
}

.specs-ctas--start {
    justify-content: flex-end;
}

.specs-ctas--end {
    justify-content: flex-start;
}

.specs-rows-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.specs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.specs-row-label {
    font-weight: var(--weight-bold);
    font-size: 0.875rem;
    color: rgba(0, 0, 0, .6);
}

.specs-row-desc {
    font-size: 1rem;
    color: var(--brand-black);
}

.specs-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    justify-content: center;
}

.specs-tab-btn {
    padding: 0.625rem 2rem;
    background: none;
    border: none;
    width: 100%;
    border-bottom: 1px solid var(--gray-light-10);
    color: rgba(0, 0, 0, .6);
    white-space: nowrap;
    word-break: keep-all;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

    .specs-tab-btn.is-active {
        font-weight: var(--weight-semibold);
        color: var(--gray-dark);
        border-bottom: 2px solid var(--brand-light);
    }

.specs-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .specs-panel[data-active="true"] {
        display: block;
    }

.specs-cell {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    background: transparent;
}

.specs-row-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, .6);
}

@media (max-width: 768px) {
    .specs-grid {
        flex-direction: column;
    }

    .specs-tab-btn,
    .specs-tabs li {
        width: 100%;
    }

    .specs-col--image,
    .specs-col--content {
        max-width: 100%;
    }

    .specs-rows {
        gap: 1rem;
        flex-direction: column;
    }

    .specs-component {
        padding: 2rem 1rem;
    }

    .specs-header h2 {
        font-size: 1.5rem;
        text-align: left;
    }

    .specs-tab-btn {
        padding: 0.625rem 1rem;
    }

    .specs-row-label {
        font-size: 0.75rem;
    }

    .specs-row-desc {
        font-size: 0.875rem;
    }

    .specs-tabs {
        overflow-x: auto;
        justify-content: unset;
    }
}